package com.how2java.tmall.mapper;

import java.util.List;

import com.how2java.tmall.pojo.Orderitem;

public interface OrderitemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Orderitem record);

    int insertSelective(Orderitem record);

    Orderitem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Orderitem record);

    int updateByPrimaryKey(Orderitem record);

	List<Orderitem> getList();

	List<Orderitem> getListByOid(Integer Oid);

	List<Orderitem> getOrderItemListByPid(int pid);

	List<Orderitem> getListByUidAndOidIsNull(int uid);
}